package comits.business.tiers.main;

import java.util.List;
import java.util.logging.LogManager;

import comits.business.tiers.dao.HistoriqueVenteDAO;
import comits.business.tiers.dao.HistoriqueVenteDAOImpl;
import comits.business.tiers.dao.PrevisionDAO;
import comits.business.tiers.dao.PrevisionDAOImpl;
import comits.business.tiers.metiers.HistoriqueVente;
import comits.business.tiers.rp.tasks.ws.ControleurCalculPrevisions;
import comits.business.tiers.utilitaires.LoggingOutputStream;

public class PrevisionMainWs {

	/**
	 * @param args
	 * @return 
	 */
	public static boolean main(float alpha, float beta, float gamma, int horizon) {
		// TODO Auto-generated method stub
		//initialisation du journal
		//LogManager.getLogManager().reset();
		LoggingOutputStream log =  new LoggingOutputStream();
		log.initializeLog();

		ControleurCalculPrevisions ccp = new ControleurCalculPrevisions(alpha,beta,gamma,horizon);
		ccp.calculprev();
		
		return true;
	}
	
}